package game.renderer.Denis;

import game.classes.gameField.gameArea;
import game.classes.gameField.gamePlayer;
import game.data.implement.gameImageData;

public class Renderer {
	
	GameRenderer myGameR;
	MyJFrame myFrame;

	public Renderer(MyJFrame frame, gameImageData iData, gameArea ga, gamePlayer player) {
		myGameR = new GameRenderer(frame, iData, ga, player);
		myFrame = frame;
	}
	
	public void paint(String fps) {
		myGameR.paint(fps);
    	myFrame.repaint();
	}
	
}
